export const columns = [
  {
    label: '序号',
    type: 'index',
    align: 'left',
  },
  {
    label: '状态',
    prop: 'positionStatus',
    align: 'left',
    slot: 'state',
  },
  {
    label: '岗位名称',
    prop: 'positionName',
    align: 'left',
  },
  {
    label: '部门名称',
    prop: 'departmentName',
    align: 'left',
  },
  {
    label: '薪资',
    prop: 'salary',
    align: 'left',
  },
  {
    label: '创建时间',
    prop: 'createTimeStr',
    align: 'left',
  },
  {
    label: '操作',
    prop: 'operate',
    align: 'left',
    slot: 'operate',
  },
];

// const table = {
//   code: '200',
//   message: '成功',
//   data: {
//     allDepartmentsList: [
//       {
//         departmentEmployeeDO: {
//           positionId: '1',
//           positionName: '销售经理',
//           departmentId: '1',
//           salary: '8000.00',
//           positionStatus: '0',
//           createTime: '2023-12-09T04:19:04',
//         },
//       },
//       {
//         departmentEmployeeDO: {
//           departmentId: '5',
//           departmentName: '行政管理部门',
//           parentDepartmentId: '0',
//           departmentStatus: '0',
//           createTime: '2023-12-07 21:30:48',
//           employeeId: null,
//           employeeName: null,
//           employeePhone: null,
//           employeeEmail: null,
//         },
//       },
//       {
//         departmentEmployeeDO: {
//           departmentId: '6',
//           departmentName: '人才发展部门',
//           parentDepartmentId: '0',
//           departmentStatus: '0',
//           createTime: '2023-12-07 21:30:52',
//           employeeId: null,
//           employeeName: null,
//           employeePhone: null,
//           employeeEmail: null,
//         },
//       },
//       {
//         departmentEmployeeDO: {
//           departmentId: '7',
//           departmentName: '总经理办公室',
//           parentDepartmentId: '0',
//           departmentStatus: '0',
//           createTime: '2023-12-07 21:30:53',
//           employeeId: null,
//           employeeName: null,
//           employeePhone: null,
//           employeeEmail: null,
//         },
//       },
//     ],
//   },
// };

export const tableDataText = [
  {
    positionId: '1',
    positionName: '销售经理',
    departmentId: '1',
    salary: '8000.00',
    positionStatus: '0',
    createTime: '2023-12-09T04:19:04',
  },
  {
    positionId: '2',
    positionName: '销售代表',
    departmentId: '1',
    salary: '5000.00',
    positionStatus: '0',
    createTime: '2023-12-09T04:19:04',
  },
  {
    positionId: '3',
    positionName: '市场经理',
    departmentId: '2',
    salary: '8500.00',
    positionStatus: '0',
    createTime: '2023-12-09T04:19:04',
  },
  {
    positionId: '4',
    positionName: '市场专员',
    departmentId: '2',
    salary: '5500.00',
    positionStatus: '0',
    createTime: '2023-12-09T04:19:04',
  },
  {
    positionId: '5',
    positionName: '人力资源经理',
    departmentId: '4',
    salary: '9000.00',
    positionStatus: '0',
    createTime: '2023-12-09T04:19:04',
  },
  {
    positionId: '6',
    positionName: '招聘专员',
    departmentId: '4',
    salary: '6000.00',
    positionStatus: '1',
    createTime: '2023-12-09T04:19:04',
  },
  {
    positionId: '7',
    positionName: '财务总监',
    departmentId: '10',
    salary: '12000.00',
    positionStatus: '1',
    createTime: '2023-12-09T04:19:04',
  },
  {
    positionId: '8',
    positionName: '会计',
    departmentId: '11',
    salary: '7000.00',
    positionStatus: '1',
    createTime: '2023-12-09T04:19:04',
  },
  {
    positionId: '9',
    positionName: '技术总监',
    departmentId: '12',
    salary: '11000.00',
    positionStatus: '1',
    createTime: '2023-12-09T04:19:04',
  },
  {
    positionId: '10',
    positionName: '软件工程师',
    departmentId: '13',
    salary: '8000.00',
    positionStatus: '1',
    createTime: '2023-12-09T04:19:04',
  },
  {
    positionId: '11',
    positionName: '运营经理',
    departmentId: '14',
    salary: '9500.00',
    positionStatus: '1',
    createTime: '2023-12-09T04:19:04',
  },
  {
    positionId: '12',
    positionName: '物流专员',
    departmentId: '15',
    salary: '6000.00',
    positionStatus: '1',
    createTime: '2023-12-09T04:19:04',
  },
];
